import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter_modular/flutter_modular.dart';
import 'package:thinking/config/_.dart';

class PersonalCustomer extends StatelessWidget{


  Widget title(){
    return Row(
      children: [
        IconButton(onPressed: (){

          Modular.to.pop();

        }, icon: Icon(Icons.arrow_back),color: ColorConfig.WhiteBackColor,iconSize: 20,),
        Text(
          '联系客服',
          style: TextStyle(
              color: ColorConfig.WhiteBackColor,
              fontSize: 16,
              fontWeight: FontWeight.bold
          ),
        )
      ],
    );
  }


  @override
  Widget build(BuildContext context) {
    return Scaffold(
        appBar: AppBar(
          backgroundColor: ColorConfig.ThemeColor,
          automaticallyImplyLeading: false,
          elevation: 0,
          title: title(),

        ),
        body: Container(
          child: Column(
            children: [
              Center(
                child: Image.asset(
                  Images.libQQImgSplash
                ),
              ),
              SizedBox(height: 10,),
              Text(
                '客服QQ:3377586344',
                style: TextStyle(
                  fontSize: 18,
                  fontWeight: FontWeight.bold
                ),

              ),
              SizedBox(height: 10,),
              Text(
                '请在上午9点-下午6点内联系',
                style: TextStyle(
                    fontSize: 18,
                    fontWeight: FontWeight.bold
                ),

              ),
              SizedBox(height: 10,),
              Text(
                '谢谢配合 >_<',
                style: TextStyle(
                  color: ColorConfig.ThemeColor,
                    fontSize: 20,
                    fontWeight: FontWeight.bold
                ),

              )
            ],
          ),
        ),
    );
  }

}